package com.limou.pojo;

import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
public class EmpJob implements Serializable {
    private int empId;
    private int jobId;

    public EmpJob() {
    }

    public EmpJob(int empId, int jobId) {
        this.empId = empId;
        this.jobId = jobId;
    }

    public int getEmpId() {
        return empId;
    }

    public void setEmpId(int empId) {
        this.empId = empId;
    }

    public int getJobId() {
        return jobId;
    }

    public void setJobId(int jobId) {
        this.jobId = jobId;
    }

    @Override
    public String toString() {
        return "EmpJob{" +
                "empId=" + empId +
                ", jobId=" + jobId +
                '}';
    }
}
